package com.qyhl.cloud.webtv.module_integral.wallet;

import androidx.fragment.app.FragmentActivity;

import com.qyhl.webtv.commonlib.entity.intergral.WallerBean;


public interface WallerContract {
    interface WallerView {

        void getDataError(String message);

        void getDataSuccess(WallerBean data);

        void getCoinRateSuccess(int rate);
    }

    interface WallerPresenter {

        WalletPresenter.MAdapter getTabAdapter(FragmentActivity activity);

        void getData();

        void getDataError(String message);

        void getDataSuccess(WallerBean data);

        void onDestroy();

        void getCoinRate();

        void getCoinRateSuccess(int rate);
    }

    interface WallerModel {

        void getData();

        void onDestroy();

        void getCoinRate();
    }
}
